package com.biz.aoao.mysql.mysqlbinlogsync.config;

import lombok.Data;

/**
 * @Author scgaopan
 * @Date 2020/8/5 19:53
 * @Version 1.0
 * @Desc mysql 配置对象
 */
@Data
public class MySqlHost {

    /**
     * mysql servierId
     * 可以通过以下命令查看：show variables like 'server_id';
     */
    //
    private Long  serverid;

    //主机ip
    private String host;

    //端口
    private int port;
    //用户名
    private String username;
    //密码
    private String password;


    private String filename;

    private Long position;

}
